package com.yang.sms.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.yang.sms.entity.SmsTemplate;
import com.yang.sms.mapper.SmsTemplateMapper;
import com.yang.sms.service.SmsTemplateService;
import org.springframework.stereotype.Service;

/**
* @author Billyang
* @description 针对表【sms_template(短信模板)】的数据库操作Service实现
* @createDate 2024-09-26 17:56:28
*/
@Service
public class SmsTemplateServiceImpl extends ServiceImpl<SmsTemplateMapper, SmsTemplate>
    implements SmsTemplateService {
    public SmsTemplate selectByChannelTemplateCode(String channel, String templateCode) {
        return baseMapper.selectByChannelTemplateCode(channel, templateCode);
    }
}




